<?php

class Zona extends MY_Model {


 
    function Zona()
    {
        // Call the Model constructor
        parent::MY_Model();
	$this->nombreTabla = "zona";
	$this->idT1= "idZona";
	$this->nombreCampo="descripcion";

		$this->campos[] = array("realname" => "descripcion",
					"clase" => "text",
					"label" => "Zona",
					"rules" => "required|min_length[3]|max_length[45]|alpha_numeric_space");

		$this->campos[] = array("realname" => "idCiudad",
					"clase" => "partof",
					"label" => "Ciudad",
					"modelo" => "ciudad",
					"rules" => "required|integer");
		

    }
     
 
}


?>
